package com.xyzwps.server.paimon.ui.view

import com.fasterxml.jackson.annotation.JsonIgnore
import com.xyzwps.server.paimon.model.entity.User
import com.xyzwps.server.paimon.value.UserId

data class SimpleUserView(
    @JsonIgnore
    val id: UserId? = null,
    val nickname: String? = null
) {
    constructor(user: User) : this(id = user.id, nickname = user.nickname)
}
